#include <myhead.h>
#include "mynet.h"


void msg_send_init(msg_send_t* msg, char cmd, char* username,char* passwd){
	msg->head=0x11;
	msg->cmd=cmd;
	strcpy(msg->username,username);
	strcpy(msg->passwd,passwd);
	msg->end=0x22;
}
void msg_ret_init(msg_ret_t* msg){
	msg->head=0x11;
	//
	msg->end=0x22;
}

